From: Olaf Hering Date: Sun, 20 Nov 2011 17:26:15 +0000 (+0100) Subject: xenpaging: add debug to show received watch event. X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=649ba37370023dbad4efb30566ebd3e01ad6d7c4;p=xen.git xenpaging: add debug to show received watch event. Signed-off-by: Olaf Hering Committed-by: Ian Jackson --- diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c index 8f9f52d1e0..b406d0119a 100644 --- a/tools/xenpaging/xenpaging.c +++ b/tools/xenpaging/xenpaging.c @@ -108,6 +108,7 @@ static int xenpaging_wait_for_event_or_timeout(xenpaging_t *paging) vec = xs_read_watch(paging->xs_handle, &num); if ( vec ) { + DPRINTF("path '%s' token '%s'\n", vec[XS_WATCH_PATH], vec[XS_WATCH_TOKEN]); if ( strcmp(vec[XS_WATCH_TOKEN], watch_token) == 0 ) { /* If our guest disappeared, set interrupt flag and fall through */